﻿using _2._23._2015_GroceryList.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _2._23._2015_GroceryList.Adapters
{
    /// <summary>
    /// Grocery Items Interface (contract)
    /// </summary>
    public interface IGroceryItemsAdapter
    {
        List<GroceryItemViewModel> GetGroceryItems();
        DateTime? PurchaseGroceryItem(int id);
        int AddItem(GroceryItemViewModel model, string userId);
    }
}
